/*
 * FunctionTracing.c
 *
 *  Created on: Dec 15, 2010
 */

#include "FunctionTracing.h"

// TODO N Perhaps define it somewhere else.
// TODO V Use the Variable Settings to set this.... somehow.
int g_nTraceLevel = 0;

/*
 * 0:
 * 1:
 * 3: Spawning an agent
 * 4: Gate information of agents.
 * 5: Messages signalling
 * 6: Content of messages.
 */

int GetTraceLevel() {
	return(g_nTraceLevel);
}



int SetTraceLevel(int nNewTraceLevel) {
	int nOldValue = g_nTraceLevel;
	g_nTraceLevel = nNewTraceLevel;
	return(nOldValue);

}
